const express = require("express");
const router = express.Router();

const controllers = require("../controllers/index");
/**
 * 记录圣诞树日志
 */

router.post("/record", controllers.record);


/**
 * 记录水电
 */

router.post("/add", controllers.add);


/**
 * 获取记录
 */

router.get("/list", controllers.list);

module.exports = router;
